9g Gray Lego Servo
This 9g gray servo features Lego-compatible mounting holes for quick integration with Lego structures. Additionally, it offers a larger rotation angle compared to standard 9g servos. While conventional 9g servos have a rotation range of 0~180 degrees, the 9g gray Lego servo provides a range of -45 to 225 degrees, resulting in a total rotatable angle of 270 degrees.
Wiring
Connect the servo wires to S1~S8 on the Robotbit expansion board.
Note: Ensure the wire colors correspond correctly.
Programming
#Micro:bit Control Servo Rotation from -45 Degrees to 225 Degrees, Repeating in a Cycle
Usage Notes
1、The servo driver is on the Robotbit, so when using a servo, the expansion board must be initialized first.
2、The Robotbit supports three types of servos.
| 积木 | 控制舵机类型 | 图片 |
|---|---|---|
| blue 9g servo | ![]() | |
| 9g Geekservo | ![]() | |
| 2KG Geekservo | ![]() |
3、Insert the Robotbit battery and turn on the power by switching it to the green terminal side.
The Little Inventor kit comes with a 9g geekservo, so the program is as follows:


